home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / Sherlock 2.0 / DevLibSrc / Main_DevLib / LIBes.h < prev    next >
Text File  |  1996-02-09  |  2KB  |  101 lines

  1. /*
  2.     devlib: header file for error stream output routines.
  3.     
  4.     source:  LIBes.h.
  5.     started: December 13, 1993.
  6.     version:
  7.         February 9, 1996.
  8.             Added support for C++.
  9.         November 7, 1995.
  10.             Made ejustify global for use by LIBfloat.c.
  11.         December 4, 1994.
  12.             Added ebell.
  13.         July 17, 1994.
  14.             Added ecblanks.
  15.         June 2, 1994.
  16.             Added es2os_flag.
  17.         January 7, 1994.
  18. */
  19.  
  20. #ifndef LIBes_h_
  21. #define LIBes_h_
  22.  
  23. #pragma once
  24.  
  25. #ifdef __cplusplus    // 2/9/96
  26. extern "C" {
  27. #endif
  28.  
  29. /*
  30.     Globals owned by this module.
  31. */
  32. extern int es2os_flag;    /* TRUE: all call to es stream go to os stream. */
  33.  
  34. /*
  35.     Function prototypes.
  36. */
  37. void    eangle        (char *c);
  38. void    ebell        (void);
  39. void     ebool        (bool b);
  40. void    eblank        (void);
  41. void    eblanks        (int n);
  42. void    ebracket    (char *s);
  43. void    ecblanks    (short n);
  44. void    echar        (int c);
  45. void    ecnl        (void);
  46. void    ecnls        (short requested_newlines);
  47. void    ecurly        (char *s);
  48. void    ecs            (void);
  49. void    edouble        (double d);
  50. void    efrac        (long a1, long a2);
  51. void    ehex        (long l);
  52. void    ehexchar    (long l);
  53. void    eint        (int i);
  54. void    ejustify    (char * buffer, int length, int field_length);
  55. void    elong        (long l);
  56. void    ehex        (long l);
  57. void    elp            (void);
  58. void    emsec        (long ticks);
  59. void    enl            (void);
  60.  
  61. void    epadbool    (bool b, int field);
  62. void    epadchar    (char c, int field);
  63. void    epaddouble    (double d, int field);
  64. void    epadfrac    (long a1, long a2, int field);
  65. void    epadhex        (long l, int field);
  66. void    epadint        (int i,  int field);
  67. void    epadlen        (int item_length, int field);
  68. void    epadlong    (long l,   int field);
  69. void    epadmsec    (long ticks, int field);
  70. void    epadparen    (char * s, int field);
  71. void    epadparenlong(long a, int field);
  72. void    epadptr        (void * p, int field);
  73. void    epads        (char * s, int field);
  74. void    epaduint    (uint ui, int field);
  75. void    epadulong    (ulong ul, int field);
  76.  
  77. void    eparen        (char * s);
  78. void    epercent    (long n, ulong tot);
  79. void    eplural        (long n);
  80. void    eptr        (void * p);
  81. void    epstring    (char * p);
  82. void    equote        (char *s);
  83. void    eret        (void);
  84. void    erpnl        (void);
  85. void    es            (char * s);
  86. void    es_assert_failed    (char * condition, int line, char * file);
  87. void    es_internal_err        (char * condition, int line, char * file);
  88. void    etab        (void);
  89. void    etabs        (int tab_count);
  90. void    etrunc        (char * p, int length);
  91. void    euint         (uint ui);
  92. void    eulong        (ulong ul);
  93.  
  94. long    ticks2msec    (long ticks);
  95.  
  96. #ifdef __cplusplus    // 2/9/96
  97. }
  98. #endif
  99.  
  100. #endif /* LIBes_h_ */
  101.